Closed jordi-farre closed 3 years ago
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.
Thanks for merging the change @harwey. The release will be generated automatically? Thanks.
@harwey Can you publish this fix with 0.7.8 to the maven repository?
@harwey Could you please release this fix ?
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!