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

[master]: Apache HttpClient will set Host header automatically #42

Merged
merged 1 commit into from
Nov 19, 2020

Conversation

jordi-farre
Copy link
Contributor

@jordi-farre jordi-farre commented Nov 19, 2020

The intention of this change is to remove the configurable host header via properties. After removing this Apache HttpClient will calculate this header automatically. I have tested this enabling Apache HttpClient logs with this result:

2020/11/19 08:46:40:487 CET [DEBUG] headers - http-outgoing-0 >> Content-Type: application/ipp
2020/11/19 08:46:40:487 CET [DEBUG] headers - http-outgoing-0 >> Host: localhost:631
2020/11/19 08:46:40:487 CET [DEBUG] headers - http-outgoing-0 >> Connection: Keep-Alive

Thanks!

@harwey harwey merged commit 1102886 into harwey:master Nov 19, 2020
@harwey
Copy link
Owner

harwey commented Nov 19, 2020

Thanks, I will check this on my system and will soon release a new version of cups4j, as this is a bug fix many people will need.

@jordi-farre
Copy link
Contributor Author

Thanks for merging the change @harwey. The release will be generated automatically? Thanks.

@shyamsundar18
Copy link

@harwey Can you publish this fix with 0.7.8 to the maven repository?

@AnantAgarwal005
Copy link

@harwey Could you please release this fix ?

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

Successfully merging this pull request may close these issues.

4 participants