diff options
Diffstat (limited to '_build/static/archives/extend/attachments/20140708/35d8806d')
-rw-r--r-- | _build/static/archives/extend/attachments/20140708/35d8806d/attachment-0001.html | 6 | ||||
-rw-r--r-- | _build/static/archives/extend/attachments/20140708/35d8806d/attachment.html | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/_build/static/archives/extend/attachments/20140708/35d8806d/attachment-0001.html b/_build/static/archives/extend/attachments/20140708/35d8806d/attachment-0001.html new file mode 100644 index 00000000..6a259b6a --- /dev/null +++ b/_build/static/archives/extend/attachments/20140708/35d8806d/attachment-0001.html @@ -0,0 +1,6 @@ +<tt> +<div dir="ltr">Hello, y'all.<div><br></div><div>I'm using HTTP Basic Auth in my API. While calling cowboy_req:parse_header(<<"authorization>>", ... with an _invalid_ Authorization header such as "Authorization: Basic Test1" I get an error 500 back and an error log message on the server.</div><br> +<div><br></div><div>1. Is this the expected behavior? [if I understand correctly, my request is going through authorization(UserPass, Type = <<"basic">>) and this has no check for the string being correctly encoded]</div><br> +<div><br></div><div>2. what would be the best way to guard against this "error"?</div><div><br></div><div>Thanks.</div><div><br></div><div>- Paulo F. Oliveira</div></div><br> + +</tt> diff --git a/_build/static/archives/extend/attachments/20140708/35d8806d/attachment.html b/_build/static/archives/extend/attachments/20140708/35d8806d/attachment.html new file mode 100644 index 00000000..6a259b6a --- /dev/null +++ b/_build/static/archives/extend/attachments/20140708/35d8806d/attachment.html @@ -0,0 +1,6 @@ +<tt> +<div dir="ltr">Hello, y'all.<div><br></div><div>I'm using HTTP Basic Auth in my API. While calling cowboy_req:parse_header(<<"authorization>>", ... with an _invalid_ Authorization header such as "Authorization: Basic Test1" I get an error 500 back and an error log message on the server.</div><br> +<div><br></div><div>1. Is this the expected behavior? [if I understand correctly, my request is going through authorization(UserPass, Type = <<"basic">>) and this has no check for the string being correctly encoded]</div><br> +<div><br></div><div>2. what would be the best way to guard against this "error"?</div><div><br></div><div>Thanks.</div><div><br></div><div>- Paulo F. Oliveira</div></div><br> + +</tt> |