Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Sergiu Marsavela marsavela

🏠
Working from home
Block or report user

Report or block marsavela

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@marsavela
marsavela / reflect.py
Created Apr 26, 2019 — forked from huyng/reflect.py
A simple echo server to inspect http web requests
View reflect.py
#!/usr/bin/env python
# Reflects the requests from HTTP methods GET, POST, PUT, and DELETE
# Written by Nathan Hamiel (2010)
from BaseHTTPServer import HTTPServer, BaseHTTPRequestHandler
from optparse import OptionParser
class RequestHandler(BaseHTTPRequestHandler):
def do_GET(self):
View gist:5b07fc0489c13f6158682f89ef1abf34
### Keybase proof
I hereby claim:
* I am marsavela on github.
* I am smarsave (https://keybase.io/smarsave) on keybase.
* I have a public key ASC-hY7j28r5ZnDv31bEt3RFiWVC2_1Lys0xA-xTM3atiAo
To claim this, I am signing this object:
You can’t perform that action at this time.