Skip to content

Instantly share code, notes, and snippets.

@db0company
Created March 10, 2013 06:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save db0company/5127409 to your computer and use it in GitHub Desktop.
Save db0company/5127409 to your computer and use it in GitHub Desktop.
db0@Ohana:/tmp$ nc paysdu42.fr 3000
POST /articles HTTP/1.1
Host: paysdu42.fr:3000
title=test&category=pedago
HTTP/1.1 400 Bad Request
Content-Type: text/html; charset=ISO-8859-1
Server: WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22)
Date: Sun, 10 Mar 2013 06:38:26 GMT
Content-Length: 316
Connection: close
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<HTML>
<HEAD><TITLE>Bad Request</TITLE></HEAD>
<BODY>
<H1>Bad Request</H1>
bad header 'title=test&amp;category=pedago\n'.
<HR>
<ADDRESS>
WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22) at
sd-22913.dedibox.fr:3000
</ADDRESS>
</BODY>
</HTML>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment