rpotts%netscape.com
64afa4ef7b
Bug #11410 . Changed NS_ASSERTION to checkc the *correct* variable. Someday I'll grow a brain and become really dangerous...
...
git-svn-id: svn://10.0.0.236/trunk@43191 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-11 21:15:49 +00:00
gagan%netscape.com
cfa9061d2b
Temporarily fixing the assert which I think is ok, but would let rpotts confirm it.
...
git-svn-id: svn://10.0.0.236/trunk@43152 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-11 04:28:32 +00:00
rpotts%netscape.com
95b3e25116
Release the pointers that were passed into AsyncRead(...) when the operation is compelete. This breaks some circular references that prevented WebShells from being deleted...
...
git-svn-id: svn://10.0.0.236/trunk@42917 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 04:02:10 +00:00
rpotts%netscape.com
69541d340d
Implement the nsIRequest interface for nsHTTPChannel. This allows channels that are cancelled from a LoadGroup to *actually* get removed...
...
git-svn-id: svn://10.0.0.236/trunk@42744 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 07:07:08 +00:00
rpotts%netscape.com
89e0a639ea
bug #10790 . The HTTPChannel is now given to the HTTPResponseListener during construction. Before, it was getting it via a dirty cast in the OnStartRequest notification. Unfortunately, OnStartRequest is only called if the connection is successful. This caused a crash in OnStopRequest if the HTTPChannel was not available :-(
...
git-svn-id: svn://10.0.0.236/trunk@42423 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 07:57:44 +00:00
valeski%netscape.com
bae95069be
fixing mac build bustage. brade verified the changes in her mac build. I switched from com ptrs to regular pointers as the com pointer abuse wasn't appreciated on the mac
...
git-svn-id: svn://10.0.0.236/trunk@42303 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-05 16:17:22 +00:00
rhp%netscape.com
85cc2b11d8
added files: mozilla/netwerk/protocol/http/src/nsHTTPHeaderArray.cpp, mozilla/netwerk/protocol/http/src/nsHTTPAtoms.cpp
...
git-svn-id: svn://10.0.0.236/trunk@42297 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-05 13:23:45 +00:00
rhp%netscape.com
73908aeabe
added files: mozilla/netwerk/protocol/http/public/nsIHTTPHeader.idl
...
git-svn-id: svn://10.0.0.236/trunk@42296 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-05 13:16:39 +00:00
rpotts%netscape.com
38b1d8b296
Fix for build bustage on Linux...
...
git-svn-id: svn://10.0.0.236/trunk@42290 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-05 09:07:29 +00:00
rpotts%netscape.com
650a7e2a5b
bug #10739 . Reworking header APIs... I've added 2 new CPP files - nsHTTPAtoms.cpp and nsHTTPHeaderArray.cpp.
...
git-svn-id: svn://10.0.0.236/trunk@42286 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-05 08:27:49 +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
dougt%netscape.com
b0608938e6
removing hard coded "http" string and using GetScheme() instead.
...
cleaning up a memory leak
git-svn-id: svn://10.0.0.236/trunk@41926 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 02:15:30 +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
valeski%netscape.com
47caa42c95
pulled file extension search code and started using new mime mapping method which does it for us
...
git-svn-id: svn://10.0.0.236/trunk@41759 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-01 16:44:29 +00:00
warren%netscape.com
ea0efc8e73
Took out more f*** nsCOMPtrs
...
git-svn-id: svn://10.0.0.236/trunk@41703 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 07:51:35 +00:00
warren%netscape.com
7517ffc87e
Added GetLoadGroup/SetLoadGroup to nsIChannel so that redirects can discover the group.
...
git-svn-id: svn://10.0.0.236/trunk@41690 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 06:53:12 +00:00
rpotts%netscape.com
d5c1d655fd
bug #10424 URL redirects. If the server did *not* send an entity along with the 302, necko would not correctly follow the redirect.
...
git-svn-id: svn://10.0.0.236/trunk@41587 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-30 07:13:05 +00:00
rpotts%netscape.com
e3936a5ca6
bug #10424 URL redirects. If the server did *not* send an entity along with the 302, necko would not correctly follow the redirect.
...
git-svn-id: svn://10.0.0.236/trunk@41586 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-30 06:39:24 +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
8766545ebe
Set the max number of open transports to 8.
...
git-svn-id: svn://10.0.0.236/trunk@41463 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 09:26:55 +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
2c5e794352
Fixed mismatched delete problem (purify).
...
git-svn-id: svn://10.0.0.236/trunk@41418 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 04:05:10 +00:00
warren%netscape.com
a207202ff4
Added assertion for bug I was hitting (spinning).
...
git-svn-id: svn://10.0.0.236/trunk@41274 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 08:47:43 +00:00
warren%netscape.com
b8c845642e
Added missing error check.
...
git-svn-id: svn://10.0.0.236/trunk@41273 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 08:47:13 +00:00
valeski%netscape.com
d850efef51
necko - we now set the user agent by default
...
git-svn-id: svn://10.0.0.236/trunk@41049 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-25 13:54:47 +00:00
gordon%netscape.com
67a5ba8337
Added nsHTTPEncodeStream.cpp.
...
git-svn-id: svn://10.0.0.236/trunk@40767 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-23 01:03:15 +00:00
gordon%netscape.com
3f608f4057
Added nsIHTTPProtocolHandler.idl.
...
git-svn-id: svn://10.0.0.236/trunk@40763 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-23 00:56:23 +00:00
gagan%netscape.com
fe009512c7
Changes for the standard URL parsing. Added SetRelativePath. Cleaned up the deletions (all thru nsCRT now) Added functionality for Query and Ref portions of the Path. Added DirFile function to nsIURL to allow just Directory and the Filename. Misc. cleanups as well.
...
git-svn-id: svn://10.0.0.236/trunk@40697 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 21:14:51 +00:00
tbogard%aol.net
3f2aa8acfc
Fixing Necko build bustage.
...
git-svn-id: svn://10.0.0.236/trunk@40592 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 03:33:49 +00:00
tbogard%aol.net
5a355ca688
Looks like I missed a header for the nsCStringKey -> nsStringKey change.
...
git-svn-id: svn://10.0.0.236/trunk@40587 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 02:47:39 +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
81bba65a3c
we were always returning text/html as the content type for any page using the http channel!!!! this was preventing us from
...
properly loading rdf files from the web (particularly the tinderbox page for the flash panel). Only use the default
dummy type if we weren't able to extract a legitimate content type from the header.
git-svn-id: svn://10.0.0.236/trunk@40341 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 22:44:24 +00:00
valeski%netscape.com
1445aad005
using more appropriate notification progids
...
git-svn-id: svn://10.0.0.236/trunk@40319 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 20:44:02 +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
f1dfc48c58
Changed around load group insertion/removal to happen on mozilla thread.
...
git-svn-id: svn://10.0.0.236/trunk@40266 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 08:46:33 +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
rickg%netscape.com
541f805b78
switch to faster string search API
...
git-svn-id: svn://10.0.0.236/trunk@40073 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 03:29:56 +00:00
mscott%netscape.com
9ae814e569
bulletproofing some code. it's possible for the loadgroup to be null.
...
git-svn-id: svn://10.0.0.236/trunk@39823 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-17 02:06:47 +00:00
valeski%netscape.com
821a5628a1
mime map api change
...
git-svn-id: svn://10.0.0.236/trunk@39765 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 22:00:11 +00:00
warren%netscape.com
84a03567fa
Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome).
...
git-svn-id: svn://10.0.0.236/trunk@39678 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 11:14:36 +00:00
rpotts%netscape.com
e4883a66f0
Very simple implementation of 301/302 HTTP redirects...
...
git-svn-id: svn://10.0.0.236/trunk@39676 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 09:54:20 +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
gagan%netscape.com
20644f0192
Fixed some broken status headers. Added Host: header by default. This was otherwise breaking (as in unsuccessful HTTP) for some sites that use virtual hosts and depend upon the Host: header.
...
git-svn-id: svn://10.0.0.236/trunk@39553 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-15 22:57:04 +00:00
rpotts%netscape.com
bfecc033f2
Added the query string (if any) to the GET request... NECKO only.
...
git-svn-id: svn://10.0.0.236/trunk@39204 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-13 20:42:36 +00:00
warren%netscape.com
3df124d5df
Fixed http loading in viewer. Wrong channel was being passes to doc loader's stream listener by http. Also added ifdef to easily remove Fill change.
...
git-svn-id: svn://10.0.0.236/trunk@38979 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-11 02:43:37 +00:00