[erlang-questions] http-client and Transfer-Encoding: Chunked header
Igor Goryachev
goryachev@REDACTED
Tue Jul 17 21:03:51 CEST 2007
Hello.
Erlang's http-client fails with unknown_encoding error when it gets
"Transfer-Encoding: Chunked" (value "Chunked" is with capital letter
"C") header from httpd-server response:
goryachev@REDACTED:~% erl
Erlang (BEAM) emulator version 5.5.4 [source] [async-threads:0] [hipe] [kernel-poll:false]
Eshell V5.5.4 (abort with ^G)
1> http:request(get, {"http://falcon/public/state.xml", []}, [], []).
=INFO REPORT==== 17-Jul-2007::22:52:49 ===
The inets application was not started. Has now been started as a temporary application.
{error,unknown_encoding}
2>
Is there a bug in http-client (which handles only "chunked") or in a
server which responses with a wierd header value?
--
Igor Goryachev
Yandex development team.
More information about the erlang-questions
mailing list