• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: URL Access Manager??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: URL Access Manager??


  • Subject: Re: URL Access Manager??
  • From: Mike Cohen <email@hidden>
  • Date: Sat, 15 Mar 2003 17:12:57 -0500

I ended up writing my own code to send HTTP requests and process the replies. It was a big pain, especially adding proxy support, but it works more reliably.

I also found POST doesn't work, and it also doesn't support keep-alive connections. Unless I'm missing something, there doesn't seem to be a way to send additional requests on the same connection without closing & reopening it, which is how a keep alive connection works.

On Saturday, March 15, 2003, at 02:41 AM, Richard wrote:

What's the status of URL Access Manager???

As far as I can tell it is supposed to be supported under Carbon
but my application, which depends on it, stopped working
when it was Carbonized.

After much code factoring and testing I have discovered the following.
GET works but POST does not. The web site at the other end does
not pick up any POST data.

I am using SetProperty to set kURLHTTPRequestMethod and
kURLHTTPRequestBody and this used to work.

Calling GetProperty with kURLHTTPRequestHeader
immediatley after using the above SetProperty calls
returns an empty string and it fails silently.

As an alternative I tried calling SetProperty with kURLHTTPRequestHeader.
A GetProperty call immediately after returns the data I put in.
Now however the code does an access fault exception 7 calls deep inside URLIdle();

This is on MacOS X (Jaguar).
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.


--
Mike Cohen
http://www.macmegasite.com/ * http://www.mc-development.com/ * http://www.worldbeatplanet.com/

Music is the weapon of the future - Fela
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.

References: 
 >URL Access Manager?? (From: Richard <email@hidden>)

  • Prev by Date: URL Access Manager??
  • Next by Date: Multiprocessor problem?
  • Previous by thread: URL Access Manager??
  • Next by thread: Multiprocessor problem?
  • Index(es):
    • Date
    • Thread