StackFocus / SwagIP

A simple way to get your public IP address and other connection related information from any device
MIT License
3 stars 1 forks source link

respond with all data in json #3

Closed thatarchguy closed 9 years ago

thatarchguy commented 9 years ago

View that returns the entire request in json

Acceptance criteria: A view that returns the entire user request data, ex:

    {"connection":"keep-alive","ip_addr":"127.0.0.1","lang":"en-US,en;q=0.5","remote_host":"c-127-0-0-1.doesntexistlol.xxx","user_agent":"Mozilla/5.0 (Windows NT 6.3; WOW64; rv:39.0) Gecko/20100101 Firefox/39.0","charset":"","port":"54796","via":"","forwarded":"","mime":"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8","keep_alive":"","encoding":"gzip, deflate"}

This will help with #2