Likely a comma vs. semi-colon in an NSString on a 13" monitor bug. ;-)
If you look at the headers from the request (sent earlier in this
thread) you'll see it.
On May 10, 2008, at 3:21 PM, Chuck Hill wrote:
Ah ha! :-)
What caused this? Is it an iPhone bug?
Chuck
On May 10, 2008, at 3:
Ah ha! :-)
What caused this? Is it an iPhone bug?
Chuck
On May 10, 2008, at 3:17 PM, Joshua Paul wrote:
We found the issue. It was a misplaced comma, instead of a semi-
colon following "multipart/form-data" in the request.
Thanks everyone.
On May 9, 2008, at 10:55 AM, Chuck Hill wrote:
We found the issue. It was a misplaced comma, instead of a semi-colon
following "multipart/form-data" in the request.
Thanks everyone.
On May 9, 2008, at 10:55 AM, Chuck Hill wrote:
Use a hex editor to look at the raw requests. Years ago there was a
similar problem with IE where the reques
Use a hex editor to look at the raw requests. Years ago there was a
similar problem with IE where the request was missing a ^M/carriage
return after the content boundary. This sounds like a similar
problem: you are receiving a malformed request.
We fixed it by hacking, er cleverly alteri
On May 9, 2008, at 9:55 AM, Joshua Paul wrote:
FWIW, I get the following when grabbing this.request().contents() in
the DirectAction:
values: (stream
[EMAIL PROTECTED]
of length 418147), has NOT been accessed>
I can then write the WOInputStreamData out to disk. Within that
file, I se
FWIW, I get the following when grabbing this.request().contents() in
the DirectAction:
values: (stream
[EMAIL PROTECTED]
of length 418147), has NOT been accessed>
I can then write the WOInputStreamData out to disk. Within that file,
I see:
Content-Disposition: form-data; name="
On 9-May-08, at 12:47 PM, Joshua Paul wrote:
I followed the link, but I can't seem to get to the multipart
iterator...
In your directAction:
WOMultipartIterator mpi = request().multipartIterator();
Doesn't work?
Anyone else? Help?!
On May 9, 2008, at 2:14 AM, Stefan Klein wrote:
Hi,
I followed the link, but I can't seem to get to the multipart
iterator...
Anyone else? Help?!
On May 9, 2008, at 2:14 AM, Stefan Klein wrote:
Hi,
seems to be a problem with FileUpload. I never done this using a
direct action.
I think the following may be a good starting point:
http://ww
WOMultipartIterator multipartIterator =
context().request().multipartIterator();
WOFormData formData = null;
while ((formData = multipartIterator.nextFormData()) != null) {
String name = formData.name();
InputStream is = formData.formDataInputStream();
.
Hi,
seems to be a problem with FileUpload. I never done this using a direct
action.
I think the following may be a good starting point:
http://www.mail-archive.com/webobjects-dev@lists.apple.com/msg04304.html
Stefan
Joshua Paul schrieb:
headers: {remote_host = (::1); user-agent = (CFNetwork/
headers: {remote_host = (::1); user-agent = (CFNetwork/221.5);
document_root = (/Library/WebServer/Documents); server_name =
(localhost); accept = (*/*); remote_addr = (::1); content-type =
("multipart/form-data, boundary=0194784892923"); server_admin = ([EMAIL PROTECTED]
); remote_port = (5
Hi,
what did you see using:
NSLog.debug.appendln("headers: " + request().headers());
NSLog.debug.appendln("keys: " + request().formValueKeys());
NSLog.debug.appendln("values: " + request().formValues());
Stefan
Joshua Paul schrieb:
That's just it, when I do that I get a N
That's just it, when I do that I get a NPE.
If I grab this.request().content() and write it to disk, I can see
that the data is there (Content-Disposition, etc.).
Other thoughts?
On May 9, 2008, at 12:16 AM, Stefan Klein wrote:
Hi,
you can use request().formValueForKey("Filedata") in your
Hi,
you can use request().formValueForKey("Filedata") in your DirectAction
Stefan
Joshua Paul schrieb:
I have data coming into my app via a POST in a DirectAction. I can
obtain the data via:
(WOInputStreamData) this.request().content()
But that's where I'm stumped. Once I've grabbed the
I have data coming into my app via a POST in a DirectAction. I can
obtain the data via:
(WOInputStreamData) this.request().content()
But that's where I'm stumped. Once I've grabbed the raw data, how can
I extract the form information/data from it?
Content-Disposition: form-
15 matches
Mail list logo