Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 4 commits
  • 4 files changed
  • 1 commit comment
  • 3 contributors
2  lib/http-stream.js
View
@@ -38,7 +38,7 @@ HttpStream.prototype.pipeState = function (source) {
this.method = source.method;
if (source.url) {
- this.url = source.url;
+ this.url = this.originalUrl = source.url;
}
if (source.query) {
2  lib/request-stream.js
View
@@ -30,7 +30,7 @@ util.inherits(RequestStream, HttpStream);
// Remark: Is there anything else we wish to pipe?
//
RequestStream.prototype.pipeRequest = function (source) {
- this.url = source.url;
+ this.url = this.originalUrl = source.url;
this.method = source.method;
this.httpVersion = source.httpVersion;
this.setEncoding = source.setEncoding;
6 lib/response-stream.js
View
@@ -171,8 +171,6 @@ ResponseStream.prototype.redirect = function(path, status) {
url += (path[0] === '/') ? path : '/' + path;
}
- this.res.writeHead(status || 302, {
- 'Location': url
- });
- this.res.end();
+ this.response.writeHead(status || 302, { 'Location': url });
+ this.response.end();
};
2  package.json
View
@@ -1,7 +1,7 @@
{
"name": "union",
"description": "A hybrid buffered / streaming middleware kernel backwards compatible with connect.",
- "version": "0.3.4",
+ "version": "0.3.5",
"author": "Nodejitsu Inc. <info@nodejitsu.com>",
"maintainers": [
"indexzero <charlie@nodejitsu.com>",

Showing you all comments on commits in this comparison.

Charlie Robbins
Owner

wtf is wrong with me? This is still wrong.

Something went wrong with that request. Please try again.