Live data from Hacker News

/dev/null as a Service

devnull-as-a-service.com

41–50 of 96 posts

Re: /dev/null as a Service

#43
post #6

Best nginx config ever? location /dev/null { if ($request_method = POST ) { return 200; } }

"200" makes sense. See wikipedia article on /dev/null[0]: "discards all data written to it but reports that the write operation succeeded."

[0] - http://en.wikipedia.org/wiki//dev/null

Re: /dev/null as a Service

#44
post #36
post #30

Wow, is it April already? Do you suppose after they successfully implement /dev/random as a service, they might implement /dev/zero or /dev/full next? Or /dev/console might be especially useful.

I've already launched a competitive /dev/urandom service!

You jest but... http://www.random.org/clients/http/

Re: /dev/null as a Service

#50

Earlier quoted context omitted.

I think it should be "204 No Content".

I second this one! makes more sense than plain 200.

I can't believe you guys are debating the correct HTTP return code for a joke service? Besides, it's obviously 200.
Post reply on HN