-
Notifications
You must be signed in to change notification settings - Fork 75
Grizzly 2.4.4/4.0.0 missing Content-Type in response #2192
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
Comments
|
|
|
Thanks for your response. I ran the test with Grizzly 4.0.0 and found the same issue with curl. I modifed my original test program to include Grizzly version in response. Test 1: curl GET -- no issues
Test 2: curl GET with "Upgrade: h2c" -- missing Content-Type header in Grizzly response
|
@rabbit20210221 I have confirmed the issue and looking into a fix |
@mnriem Thanks for your quick reply. |
@rabbit20210221 Can you try out the PR? |
Fixes #2192 - Grizzly 2.4.4/4.0.0 missing Content-Type in response
Response from Grizzly http server does not contain Content-Type header when client includes HTTP 2 upgrade headers.
I am not interested in HTTP 2 support, but expect Grizzly to give HTTP 1.1 response with Content-Type header.
Test program:
Output:
Note missing "content-type" in the first response.
The text was updated successfully, but these errors were encountered: