Browse Source

Merge pull request #85 from dis/binary-headers

allow binary header values
pull/88/head
Chandrashekhar Mullaparthi 12 years ago
parent
commit
de1cb06c9c
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/ibrowse_http_client.erl

+ 1
- 0
src/ibrowse_http_client.erl View File

@ -1570,6 +1570,7 @@ get_crlf_pos(<<>>, _) -> no.
fmt_val(L) when is_list(L) -> L;
fmt_val(I) when is_integer(I) -> integer_to_list(I);
fmt_val(A) when is_atom(A) -> atom_to_list(A);
fmt_val(B) when is_binary(B) -> B;
fmt_val(Term) -> io_lib:format("~p", [Term]).
crnl() -> "\r\n".

Loading…
Cancel
Save