Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: Peter Szinek
RE: basic http auth [ reply ]  
2007-03-08 09:47
Yes, this should be it. Thanks for looking it up.

Since this seems an 5 minute job to add, I see no reason why should not be included in the next release, 0.2.5 which should appear in a week or so.

By: nikhil dvivedi
RE: basic http auth [ reply ]  
2007-03-08 08:52
i meant fetch method, not hash in that last message.

By: nikhil dvivedi
RE: basic http auth [ reply ]  
2007-03-08 08:48
I was looking at the Mechanize docs and at the scrubyt src, and i think this can be accomplished by calling the basic_auth(uname,pass) method on the agent object inside fetch. Maybe take in an optional array with username and password to the hash function? Anyways, thanks for the time youve spent on this cool app.

By: Peter Szinek
RE: basic http auth [ reply ]  
2007-03-08 08:32
Well, if mechanize supports it, then it should be definitely there.

I will put this on the TODO list, maybe it will even go to the next release (though that is really full already, so let's see). Currently the problem is, that when issuing a 'fetch', you have to pass all the params to mechanize, and it seems basic auth stuff is not passed.

Thanks for the report

By: nikhil dvivedi
basic http auth [ reply ]  
2007-03-08 08:23
is there a way to get scrubyt to work with basic http authentication? i can't find a way to do this, but i knwo that www:mechanize supports it. am i missing something?