Skip to content

Instantly share code, notes, and snippets.

@martianinteractive
Created May 17, 2009 22:57
Show Gist options
  • Save martianinteractive/113211 to your computer and use it in GitHub Desktop.
Save martianinteractive/113211 to your computer and use it in GitHub Desktop.
interface: lo0 (127.0.0.0/255.0.0.0)
filter: (ip) and ( port 4000 )
#####
T 127.0.0.1:53154 -> 127.0.0.1:4000 [AP]
GET /phone_numbers.xml HTTP/1.1.
Accept: application/xml.
Connection: close.
Authorization: Basic YXNkZmFzZGZhc2RmYXNkZjo=.
Host: localhost:4000.
.
##
T 127.0.0.1:4000 -> 127.0.0.1:53154 [AP]
HTTP/1.1 200 OK.
Connection: close.
##
T 127.0.0.1:4000 -> 127.0.0.1:53154 [AP]
Date: Sun, 17 May 2009 22:50:53 GMT.
Set-Cookie: _provider_session=BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--c01024b426f19e959f912d7939258722a1d13382; path=/; HttpOnly.
Status: 200 OK.
ETag: "b7735ed849c8a983a81eddf1fb76d954".
X-Runtime: 37ms.
Content-Type: application/xml; charset=utf-8.
Content-Length: 795.
Server: Mongrel 1.1.5.
Cache-Control: private, max-age=0, must-revalidate.
.
##
T 127.0.0.1:4000 -> 127.0.0.1:53154 [AP]
<?xml version="1.0" encoding="UTF-8"?>
<phone-numbers type="array">
<phone-number>
<id type="integer">1</id>
<lata-id type="integer">7406</lata-id>
<number>323-444-4444</number>
</phone-number>
<phone-number>
<id type="integer">2</id>
<lata-id type="integer">7406</lata-id>
<number>323-555-5555</number>
</phone-number>
<phone-number>
<id type="integer">3</id>
<lata-id type="integer">7406</lata-id>
<number>323-666-6666</number>
</phone-number>
<phone-number>
##
T 127.0.0.1:4000 -> 127.0.0.1:53154 [AP]
<id type="integer">4</id>
<lata-id type="integer">9745</lata-id>
<number>434-777-7777</number>
</phone-number>
<phone-number>
<id type="integer">5</id>
<lata-id type="integer">9745</lata-id>
<number>434-111-1111</number>
</phone-number>
</phone-numbers>
########
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment