Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Content-Type validation error - not matching Type with type compare #33

Closed
wluque opened this issue Jun 9, 2020 · 3 comments
Closed

Comments

@wluque
Copy link

wluque commented Jun 9, 2020

hello, I made the following correction for it to operate using iis hosting. change the T of type to uppercase.

#97 line.startsWith("Content-type: ")

IIS response : Content-Type , T in upper case .

HTTP/1.1 200 OK
Content-Length: 874080
Content-Type: application/octet-stream
Last-Modified: Tue, 09 Jun 2020 15:13:54 GMT
Accept-Ranges: bytes
ETag: "065b996703ed61:0"
Server: Microsoft-IIS/10.0
X-Powered-By: ASP.NET
Date: Tue, 09 Jun 2020 15:40:00 GMT

very good job, works excellent !

best regards

@IoTThinks
Copy link
Contributor

For Apache, I changed like you, too.
Content-Type

@mcedrdiego
Copy link

Thx mate. I had to do it for Apache too.
PS:
Must Change line 97 and 99

@DoubleChuang
Copy link
Contributor

DoubleChuang commented Jul 31, 2020

Hi @wluque @IoTThinks @mcedrdiego,
I already fix it #20 and merged to master branch #35
please try it and I welcome your feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants