edgurgel / httparrot Goto Github PK
View Code? Open in Web Editor NEWHTTP Request & Response Server. An incomplete clone of http://httpbin.org
Home Page: https://httparrot.onrender.com/
License: MIT License
HTTP Request & Response Server. An incomplete clone of http://httpbin.org
Home Page: https://httparrot.onrender.com/
License: MIT License
As requested @edgurgel
I am having some difficulty upgrading Tesla to OTP 26 and the httparrot SSL config, check the CI status: elixir-tesla/tesla#623
I also tried to use OTP 25+ built-in public key certs stuff, but it didn't work, I am pretty sure something in the configuration is broken that I am failing to see.
I would appreciate some help with it.
Only GET, HEAD and OPTIONS are allowed I don't see any reason to not allow other methods.
/deflate Returns deflate-encoded data.
multiple calls return different 10.x.x.x
addresses, which is private Ipv4 section and is not the true client address
$ curl http://httparrot.herokuapp.com/ip
{
"origin": "10.184.202.8"
}
$ curl http://httparrot.herokuapp.com/ip
{
"origin": "10.16.234.144"
}
vs. http://httpbin.org/ip always return the same one (my public address given by ISP) and is correct.
/response-headers?key=val Returns given response headers.
It must return the files key on the response JSON.
It would be nice to generate the index.html
on priv/
using somehow README.md or something like this.
/gzip Returns gzip-encoded data.
Cowboy has native support to compress responses, but it's based on a magic threshold: https://github.com/ninenines/cowboy/blob/5756b10d5f07af4f3388e3d1a1ede6b2651007a7/src/cowboy_req.erl#L806
We need to do our own compression because of this restriction
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.