| Dart Home | PowerTCP Web for ActiveX | Custom Development | Reply | PowerTCP Web for ActiveX Topics | Forums |
| Author | Forum: PowerTCP Web for ActiveX Topic: HTTP 1.1 100 Continue |
| dartrfm From: thornhill, ON Canada Posts: 1 Member Since: 11/11/03 |
posted November 11, 2003 12:44 PM I am currently using a competitor's HTTP control which has recently been rendered useless by the web server that I am querying. The web server has been upgraded and now always returns a "100 Continue" response to the client's HTTP POST. The "100 Continue" response is an extension of HTTP 1.1 that allows the server to acknowledge the client's headers as being acceptable and that the client should continue sending the body of the message. According to the HTTP 1.1 spec, the server should only respond with "100 Continue" if the client includes a header "Expect: 100". I have not included this header with the POST request, so I do not understand why the server responds with a 100 Continue. Anyways, does the Dart Web Tool support and understand the HTTP 1.1 100 Continue server response? Thanks |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted November 11, 2003 12:52 PM Both the Web Tool and Web Enterprise Tool should support this. If they don't they can be made to. All you have to do is supply a url for testing if it comes to that. |
| kshah From: Ashland, MA USA Posts: 3 Member Since: 09/23/04 |
posted September 23, 2004 5:57 PM I am running into what seems to be a similar problem using Web Enterprise. I am using VB 6.0 on a WinXP box. My code is as follows: Public WithEvents oWeb As DartWebASP.WebASP Private Sub Command1_Click() Set oWeb = New DartWebASP.WebASP oWeb.Timeout = 0 oWeb.Trace "c:\temp\dart.txt", False, True Dim oFile As New DartStream oFile.FileName = "c:\temp\TEST.ppt" oFile.Ref = "file1" Dim oFiles As New DartStreams oFiles.Add oFile oWeb.Request.Url = "http://localhost/MyAddIn/test.asp" oWeb.Request.FilesToPost = oFiles oWeb.Post End Sub If I use a small file (<100K), everything appears to work fine. However if I use a larger file, it fails with a 10053 error. If I examine the trace log after a success, I find the following: HTTP/1.1 200 OK Server: Microsoft-IIS/5.1 Date: Thu, 23 Sep 2004 21:54:14 GMT X-Powered-By: ASP.NET Content-Length: 17 Content-Type: text/html Set-Cookie: ASPSESSIONIDSQTSCBSQ=HICPAKJBPCNAFPAEMOGELOMB; path=/ Cache-control: private Upload succeeded. Which is what I expect. If I examine the log after a failure, I find the following: HTTP/1.1 100 Continue Server: Microsoft-IIS/5.1 Date: Thu, 23 Sep 2004 21:54:23 GMT X-Powered-By: ASP.NET It would appear that the "Continue" is screwing up the WebASP Control. Can anyone shed some light on this? |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted September 23, 2004 7:02 PM Please zip up test.asp (or something that causes the same problem) and send it to support@dart.com so that we can try it here. Thanks. |
| kshah From: Ashland, MA USA Posts: 3 Member Since: 09/23/04 |
posted September 24, 2004 8:36 AM test.asp basically does nothing. The code is as follows: <% Response.Write("Upload succeeded.") %> I will also send a copy to support@dart.com per your request. Thanks for your help. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted September 24, 2004 9:52 AM You have to do something in the page to accept the data. The server is probably closing the connection because it doesn't know why you are sending all the data and it is protecting itself from memory consumption. Try your test against a page designed to accept file transfers. There are some threads on this forum that deal with issues like this. Search for "smartupload" to see them. |
| kshah From: Ashland, MA USA Posts: 3 Member Since: 09/23/04 |
posted September 27, 2004 9:28 AM I'll be darned, you're right! I was just using a dummy script to test the client-side. Didn't think IIS/ASP was that smart! Anyhow, once I fixed the server side, everything works fine. Looks like the Dart control is going to work! Thanks again for your help. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted September 27, 2004 9:38 AM No problem. Thanks for following up! |
| Reply | PowerTCP Web for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|