httpc sending empty te header

Vincent de Phily <>
Wed Mar 31 14:10:40 CEST 2010


Hi,

the inets http client seems to add an empty "te:" http headers in all 
requests. At first I thought it was a bug, but looking at the code of 
httpc:validate_headers/3 it seems like it was done on purpose.

So a few questions about this :
* Is it indeed the intended behaviour ? What's the purpose ?
* Shouldn't httpc provide a default value (whatever transfer encodings httpc
  does support) instead ?
* What's the usefull difference between the "accept-encoding" and the "te"
  headers ?


Thanks.

-- 
Vincent de Phily


More information about the erlang-questions mailing list