Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#1462 closed enhancement (fixed)

user and password in BrowserIO.js

Reported by: pic@… Owned by: dylan
Priority: low Milestone:
Component: IO Version: 0.3
Keywords: Cc: pic@…
Blocked By: Blocking:

Description

please support user and password parameters in XMLHttpRequest.open . For example, in BrowserIO.js, around line 517:

if (!kwArgs.usr)

http.open("POST", url, async);

else

http.open("POST", url, async, kwArgs.usr, kwArgs.passwd);

thanks

Attachments (1)

BrowserIO.js.user_password.patch (673 bytes) - added by pic@… 13 years ago.
Patch to support user and password parameters in every http methods other than POST

Download all attachments as: .zip

Change History (10)

comment:1 Changed 13 years ago by dylan

Milestone: 0.4
Owner: changed from alex to dylan

seems reasonable and straightforward... will sneak it onto the 0.4 list

comment:2 Changed 13 years ago by James Burke

Owner: changed from dylan to James Burke

comment:3 Changed 13 years ago by dylan

Owner: changed from James Burke to dylan
Status: newassigned

comment:4 Changed 13 years ago by dylan

Resolution: fixed
Status: assignedclosed

(In [5876]) fixes #1462, add support for user and password in http.open

comment:5 Changed 13 years ago by James Burke

(In [5928]) references #1462. Use spelled out words since it is part of the public api

comment:6 Changed 13 years ago by James Burke

Note to original bug reporter, I changed the names from usr/passwd to user/password as of r5928.

comment:7 Changed 13 years ago by pic@…

Resolution: fixed
Status: closedreopened

my example was only for POST but I meant to support user and password parameters for every http method. Do you think it's reasonable too? I'm attaching a patch for this.

Changed 13 years ago by pic@…

Patch to support user and password parameters in every http methods other than POST

comment:8 Changed 13 years ago by dylan

Resolution: fixed
Status: reopenedclosed

(In [6047]) fixes #1462

comment:9 Changed 12 years ago by (none)

Milestone: 0.4

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.