Commit Graph

70 Commits

Author SHA1 Message Date
valeski%netscape.com
31d191de79 29164. r=shaver. The user agent setup no longer uses a string bundle. UA string formatting changes that use prefs for values.
git-svn-id: svn://10.0.0.236/trunk@61887 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 20:39:18 +00:00
valeski%netscape.com
f79435262e 28782. a=jar. r=alecf. nsHTTPHandler now has an extra product token for the User Agent string. we now use the PRUnichar = operator for string stuff, and retrieve vendor info from a string bundle.
git-svn-id: svn://10.0.0.236/trunk@61530 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 22:50:45 +00:00
gagan%netscape.com
570f14d71b r=valeski,rjc a=jar. Fixes for the following bugs-
bug 1582 - HTTP Referer header problem.
This is now resolved with a preference (network.sendRefererHeader)
If set to 0 no referrer header is sent (ever) If set to 1 the
referrer header is sent only in cases of user link-clicks and if
set to 2 is sent from image requests as well.

bug 17158 - No Proxies For wasn't implemented.
This was not being read correctly and I also moved and cleaned up
the parsing function to nsProtocolProxyService (thereby also
killing bug 27728)

bug 24642 - http://www.win98central.com/#437 was crashing.
bug 26686 - crash in nsHTTPRequest destructor.
Both of these crashes were because of the nsHTTPRequest being
unconditionally released in the destructor of nsHTTPChannel. Although the main problem remains, I have made it a non-crasher now.

bug 27844 - HTTP breaks when only using FTP proxy.
This was happening because we were not resetting values of the
proxy when they are removed from the preference pane.


git-svn-id: svn://10.0.0.236/trunk@61512 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 21:17:17 +00:00
valeski%netscape.com
81bf4379e8 r=gramps (yea, that's right), 15594 (partial). In order for FTP proxies to work, HTTP needs to implement nsIProxy. FTP uses the HTTP protocol to piggy back as a real proxy handler.
git-svn-id: svn://10.0.0.236/trunk@60715 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 08:40:05 +00:00
gagan%netscape.com
e997a4893d Now allowing FTP to specify an ftp URL-- bug 15594 (and in general allow any non-HTTP handler to use HTTP as a proxy) r=valeski
git-svn-id: svn://10.0.0.236/trunk@60711 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 07:06:32 +00:00
gagan%netscape.com
660a5e7f37 Fixed bug 27024. Changed nsIHTTPChannel.idl to have proxy host/port
accessors and modifiers. Channels may now override the proxy setting
from the HTTP handler. r=valeski

Fixed bug 24329. Made mProxyAuthList in nsAuthEngine to keep the list of proxy authentications. Logout now clears both proxy and basic auths. r=rjc

Fixed bug 26149. Authenticate now aborts only if the user doesn't click cancel on the PromptUserPass dialog. Removed the unnecessary nsIChannel* parameter on Authenticate. r=rjc

Fixed bug 24304. We now register a callback for proxy preferences. r=rjc

Fixed bug 17158. We now honor "network.proxy.no_proxies_on" preference to diable proxy activity on specified host or domain. We still need a fix for 27141 to read and write this pref correctly. r=rjc

Fixed bug 16442. Referer is only added if its an http URI. r=rjc


git-svn-id: svn://10.0.0.236/trunk@60340 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 00:47:50 +00:00
valeski%netscape.com
4fdf04bef6 r=dougt. 10465. The http protocol handler now has the USer agent api hanging off of it. I also cleaned up the HTTP component so it is a clean service w/ a cid now.
git-svn-id: svn://10.0.0.236/trunk@60090 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 06:20:54 +00:00
dp%netscape.com
1a3daa98f1 Adding NS_HTTP_STARTUP_CATEGORY r=gagan
git-svn-id: svn://10.0.0.236/trunk@60083 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 06:05:36 +00:00
gagan%netscape.com
e84399526d Fix for 13380. We now send Accept-Language: header.
git-svn-id: svn://10.0.0.236/trunk@58182 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 00:38:51 +00:00
gagan%netscape.com
7a231f0d05 Fixed bug 17293, 17244, 20814 -- all because some servers wouldn't understand lowercase HTTP headers. We now send HTTP headers in compatible case as 4.*. r=rpotts
git-svn-id: svn://10.0.0.236/trunk@57967 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-16 06:59:43 +00:00
mscott%netscape.com
8891a8a6d1 fix mem leak of the http handler and the http request objects.
Add GetnsAuthEngine to nsIHTTPProtocolHandler, remove nsHTTPHandler::GetInstance, force callers to
go through the service manager. remove the http handler factory code since we just need the http
module
r=warren


git-svn-id: svn://10.0.0.236/trunk@56122 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-17 00:44:31 +00:00
rpotts%netscape.com
9145120320 bug #13157 (r=valeski). Added support for HTTP/0.9 server responses. This fixes a whole class of bugs where CGI scripts were displaying blank pages because we just ignored the response :-(
git-svn-id: svn://10.0.0.236/trunk@55103 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 23:09:15 +00:00
warren%netscape.com
5d77bc1cb6 Added nsIHttpEventSink.h
git-svn-id: svn://10.0.0.236/trunk@54388 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 05:49:38 +00:00
warren%netscape.com
03a7be4590 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@54335 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 23:03:43 +00:00
fur%netscape.com
ba3c92d1c5 Change IDL to generate identical C++ headers, but with improved scriptability.
r: rpotts


git-svn-id: svn://10.0.0.236/trunk@53996 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 15:13:00 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
valeski%netscape.com
b853096819 16968, r=gagan. Changed the way HTTP header notification occurs. now the channel does the notification. Also added SetREsponseHeaders() to the nsIHTTPChannel iface which allows outside users to add response headers (such as nsMultiMIMEConv/bugzilla) and have the new headers perculate to observers. also fixed HTTP handler leak, r=dp on that one.
git-svn-id: svn://10.0.0.236/trunk@52094 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-28 20:12:59 +00:00
rpotts%netscape.com
58b6be1d08 Cleanup - changed setter/getter methods to an attribute.
git-svn-id: svn://10.0.0.236/trunk@51830 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 04:49:56 +00:00
valeski%netscape.com
da71bb6a85 removing dead file: a=leaf
git-svn-id: svn://10.0.0.236/trunk@49127 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-27 17:10:37 +00:00
briano%netscape.com
08f1c2c699 Removed the obsolete non-NECKO leftovers.
git-svn-id: svn://10.0.0.236/trunk@46475 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 00:59:41 +00:00
gagan%netscape.com
76c287a33c Basic Auth stuff. very basic indeed.
git-svn-id: svn://10.0.0.236/trunk@45430 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 04:21:12 +00:00
rpotts%netscape.com
d42454f6bb ug #8443. Added GetCharset to nsIHTTPChannel
git-svn-id: svn://10.0.0.236/trunk@45300 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 04:46:05 +00:00
gagan%netscape.com
7708ed2471 Fixed tabs to spaces and misc leaks...
git-svn-id: svn://10.0.0.236/trunk@44817 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 12:38:06 +00:00
rpotts%netscape.com
38fe3aea7b bug #10739. Reworking header APIs... I've added a new IDL file - nsIHTTPHeader.idl and remove 3 obsolete header files...
git-svn-id: svn://10.0.0.236/trunk@42285 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-05 08:26:57 +00:00
gagan%netscape.com
b87841a01a Added a new MANIFEST file for nsHTTP stuff.
git-svn-id: svn://10.0.0.236/trunk@42143 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 16:12:30 +00:00
gagan%netscape.com
32a246bdcb POSTing works now.
git-svn-id: svn://10.0.0.236/trunk@42137 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 15:07:26 +00:00
warren%netscape.com
4435768ca9 Removed hack to export to netwerk/dist (used before landing necko).
git-svn-id: svn://10.0.0.236/trunk@41902 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 00:38:25 +00:00
mscott%netscape.com
70cac31dfd fix build by including config.mak
git-svn-id: svn://10.0.0.236/trunk@41522 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-29 03:10:23 +00:00
rpotts%netscape.com
d4da5bce52 Obsolete file...
git-svn-id: svn://10.0.0.236/trunk@41462 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 09:25:51 +00:00
rpotts%netscape.com
6ced5b9bb6 Support for a Max number of open transports.
git-svn-id: svn://10.0.0.236/trunk@41461 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 09:25:31 +00:00
warren%netscape.com
7e740fae1a Added encode flags.
git-svn-id: svn://10.0.0.236/trunk@40424 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-21 07:05:12 +00:00
warren%netscape.com
359e372750 Working on NS_NewPostDataStream -- doesn't work yet though.
git-svn-id: svn://10.0.0.236/trunk@40420 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-21 05:53:25 +00:00
mscott%netscape.com
dfd44a08a0 Necko only!!! Fix build breakage for clobber builds by removing reference to nsIHTTPHandler.h
which is no longer being exported.


git-svn-id: svn://10.0.0.236/trunk@40293 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 18:46:34 +00:00
warren%netscape.com
eaef4bf523 Started adding encode stream for necko posting.
git-svn-id: svn://10.0.0.236/trunk@40265 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 08:45:41 +00:00
gagan%netscape.com
ba73fe5d83 Changed status from nsresult to PRUint32.
git-svn-id: svn://10.0.0.236/trunk@39602 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 00:40:06 +00:00
gagan%netscape.com
3a52ffc7d9 Changed const char* to char* for GetStatus calls.
git-svn-id: svn://10.0.0.236/trunk@39599 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 00:32:50 +00:00
rpotts%netscape.com
76a695d3bc Applied patches provided by Tim Rowley - tor@boojum.cs.brown.edu. To fix build problems with the SUNWspro compilers. Thanks Tim!!
git-svn-id: svn://10.0.0.236/trunk@37378 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 06:58:06 +00:00
bruce%cybersight.com
22e32fc718 Fixes for builds in an objdir. Use $(topsrcdir) and not $(DEPTH) for calculating path to rules.mk
git-svn-id: svn://10.0.0.236/trunk@37109 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-27 05:47:04 +00:00
warren%netscape.com
83c4cabaf7 Fixed makefiles for necko module, but netwerk directory.
git-svn-id: svn://10.0.0.236/trunk@36826 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-25 03:00:32 +00:00
warren%netscape.com
7c6d53b215 Changed our library names from netwerk to necko.
git-svn-id: svn://10.0.0.236/trunk@36755 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-24 23:13:46 +00:00
warren%netscape.com
741b9ebc71 Added nsILoadGroup. Changed load attribute strategy to flags.
git-svn-id: svn://10.0.0.236/trunk@36753 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-24 22:58:42 +00:00
warren%netscape.com
dac1243979 Added stuff needed for landing -- LoadQuiet, BypassCache, BypassProxy
git-svn-id: svn://10.0.0.236/trunk@36168 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-22 00:19:58 +00:00
andreas.otte%primus-online.de
daf6861e60 adding hack to change PUBLIC variable
This has no effect until some other changes to SeaMonkey


git-svn-id: svn://10.0.0.236/trunk@35809 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 19:07:58 +00:00
rpotts%netscape.com
18957e4484 Separated the Event Sink from the nsIStreamListener...
git-svn-id: svn://10.0.0.236/trunk@35720 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 09:40:40 +00:00
warren%netscape.com
347f675454 Hack to make necko co-exist with seamonkey so headers don't collide.
git-svn-id: svn://10.0.0.236/trunk@34957 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 01:41:08 +00:00
andreas.otte%primus-online.de
891f537f8e conversion to wstring / PRUnichar
some cosmetics to various Makefiles


git-svn-id: svn://10.0.0.236/trunk@34798 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 15:50:14 +00:00
valeski%netscape.com
03943f1585 gave http it's own xpt module
git-svn-id: svn://10.0.0.236/trunk@34451 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 19:38:03 +00:00
valeski%netscape.com
637c0c4cf7 added nsIHTTPNotify.idl to the idl list on unix
git-svn-id: svn://10.0.0.236/trunk@34337 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 01:02:37 +00:00
valeski%netscape.com
d50b9b4b58 removed this one. good one is in mozilla/netwerk/protocol/http/public
git-svn-id: svn://10.0.0.236/trunk@34206 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 17:10:25 +00:00
valeski%netscape.com
021800d963 added nsIHttpNotify.idl to the idl srcs list
git-svn-id: svn://10.0.0.236/trunk@34202 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 16:40:44 +00:00