Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

add HTTP.STATUS_CODES #6

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
4 participants

nlacasse commented Feb 1, 2012

HTTP.STATUS_CODES.

They come in handy some times.

This is copied directly from node's http.js.

Nicolas LaCasse add HTTP.STATUS_CODES f1293b9

nlacasse commented Feb 5, 2012

@substack Is there a reason you don't want this patch? exports.STATUS_CODES is part of node's http module. It should be in this module too.

ryanfitz commented May 4, 2012

I'm currently running to a bug because of no status_codes on the http module. Any updates on this pull?

nlacasse commented May 4, 2012

@substack @ryanfitz I realized a while ago that I botched this pull request. The STATUS_CODES should be on http, not Request.

I have a fork of http-browserify with the STATUS_CODES in the right place, and also some other changes:
https://github.com/spire-io/http-browserify/blob/master/browser.js

http.STATUS_CODES was added in 4934703; this can be closed.

@substack substack closed this Jun 14, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment