edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
* [Edbrowse-dev]  A couple of feature requests
@ 2014-07-03  9:19 Karl Dahlke
  2014-07-03 14:54 ` Adam Thompson
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Karl Dahlke @ 2014-07-03  9:19 UTC (permalink / raw)
  To: Edbrowse-dev

> As far as I'm aware there's no way in edbrowse to support proxy exceptions,

Chris you've done more curling than the rest of us.
Can you specify proxy exceptions within curl?
If not, and I'm guessing not,
then we have to move the PROXY curl call from my_curl_init()
into httpConnect, so it can be done per host.
If we had set a proxy on the last http fetch, can we then unset it,
or set it to null or "" or some such, so as not to use any proxy
on this fetch? Will that work?
If yes then I could implement this one without a lot of fuss.
I may start by setting up noprox in the config file,
the way we have nojs now.
That would build the list of exceptions, which is the needed infrastructure.

I'll have to think about your 401 request, there's more going on there.

Karl Dahlke

^ permalink raw reply	[flat|nested] 7+ messages in thread
* [Edbrowse-dev]  A couple of feature requests
@ 2014-07-04 13:27 Karl Dahlke
  0 siblings, 0 replies; 7+ messages in thread
From: Karl Dahlke @ 2014-07-04 13:27 UTC (permalink / raw)
  To: Edbrowse-dev

In much of edbrowse, and even in some of life,
I try not to let the best be the enemy of the good.
The best would be the javascript pac file approach, and honestly I think
we should implement that in the near future.
I don't think it would be hard, given that we have javascript suppport,
and the underlying js function isn't likely to be complicated.
But sooner than that, perhaps we should get some noprox exceptions running.
That's even easier, and it's a stepping stone,
determining the proxy at connect time rather than init time.
And we must remember that sometimes we run edbrowse with js turned off,
perhaps in general or perhaps per site.
In that case the js context isn't even there.
We don't have the option of running the pac file.
I think some folks will want a little more proxy control even with js turned off.
Then, when js is enabled, and if there is a pac file,
we can support that.
So I propose starting with some proxy exceptions in the config file,
and seeing where that leads.

Karl Dahlke

^ permalink raw reply	[flat|nested] 7+ messages in thread
* [Edbrowse-dev] A couple of feature requests
@ 2014-07-02 19:44 Adam Thompson
  0 siblings, 0 replies; 7+ messages in thread
From: Adam Thompson @ 2014-07-02 19:44 UTC (permalink / raw)
  To: Edbrowse-dev

[-- Attachment #1: Type: text/plain, Size: 1602 bytes --]

Hi all,

Today was my 2nd day in my new job, and thus my 2nd day of trying systems with
chris's static build of edbrowse (setting up the build environment on my work
machine's tonight's task). The systems I'm trying to access are
industry-standard, and I need to use a proxy to access the internet.

This brings me on to my first question/feature request:
As far as I'm aware there's no way in edbrowse to support proxy exceptions, i.e. hosts which shouldn't go via a specified proxy.  How difficult would this be to add?

The other issue I've been having is that one of the systems we use sends 401
responses with a login form, not authentication headers (I've never seen this
before either, and yes it breaks the standard). At the moment, as far as I can work out,
it looks like when I abort the edbrowse auth prompt it doesn't continue to
parse the response. Is it possible to change this so that in the case of an
aborted auth prompt (and better still if it can automagically happen in case of
a 401 status with no www-authenticate header),
the rest of the response is parsed? It may even be better to parse the response
anyway then display the authentication prompt if auth headers are sent,
but I'm not sure how possible that is.
Anyway, according to what I can read about 401 statuses,
there should be some way for the user to get to the body of the response as it
may be helpful in the case of a failed auth attempt.

If someone can tell me where to look,
I'm willing to help get both of these implemented.

Cheers,
Adam.
PS: Thanks Chris for the static build, it saved me much time yesterday.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-07-04 13:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-03  9:19 [Edbrowse-dev] A couple of feature requests Karl Dahlke
2014-07-03 14:54 ` Adam Thompson
2014-07-03 15:39 ` Chris Brannon
2014-07-04 12:45   ` Adam Thompson
2014-07-04  6:50 ` Chris Brannon
  -- strict thread matches above, loose matches on Subject: below --
2014-07-04 13:27 Karl Dahlke
2014-07-02 19:44 Adam Thompson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).