Encoding option #59

Open
Migrate opened this Issue Aug 1, 2011 · 0 comments

Comments

Projects
None yet
1 participant

Migrate commented Aug 1, 2011

Hi,

I'm trying to use tobi with a webpage that has latin characters. Can you please add a new encoding option so I can set it to 'binary'?

From what I gathered this is a small change when creating the request:

browser.js:

// Request
  var req = (this.https ? https : http).request({
      method: method
    , path: path
    , encoding: 'binary'
    , port: this.host ? this.port : (server && server.__port)
    , host: this.host
    , headers: headers
  });

Thanks.
Best regards,
Migrate

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