http post action and proxy

Macs Bank

Client
Регистрация
25.04.2014
Сообщения
59
Благодарностей
3
Баллы
8
I have been playing around with http post requests for the last 2 day trying to speed up my templates. I have finally figured out how to login to an account, use regex to get the cookie from the header and then reuse the cookie in another http post submission to submit data. But, I am having a problem I can't figure out...

I'm not sure what the cause of this would be, but I noticed when using proxies and trying to submit a large amount of data, it seems to be limiting me to send no more than 1,000 content-length. I get a 403 error when I try to submit anything more than 1,000 content-length. When I disable using proxies for the http post, it lets me submit as much as I want?

I notice the headers show http/1.0 when I am using the proxy and http/1.1 when I am not using proxies?

Does this make sense to anyone?
Does anyone have any ideas?

Thanks!
 

LexxWork

Client
Регистрация
31.10.2013
Сообщения
1 190
Благодарностей
791
Баллы
113
are you using multipart or urlencoded format in post request?
 

Macs Bank

Client
Регистрация
25.04.2014
Сообщения
59
Благодарностей
3
Баллы
8
urlencoded
 

Macs Bank

Client
Регистрация
25.04.2014
Сообщения
59
Благодарностей
3
Баллы
8
Just tried multipart and that didnt work either.
 

LexxWork

Client
Регистрация
31.10.2013
Сообщения
1 190
Благодарностей
791
Баллы
113
multipart has another format. maybe there are some mistakes in your request...
if your proxy uses an old http version you can try to make the request by curl
it supports cookies and any proxies, multipart and http 1.0
 

Macs Bank

Client
Регистрация
25.04.2014
Сообщения
59
Благодарностей
3
Баллы
8
hmmm.. what do you mean by a different format? If I am using the project maker action for post, wouldn't I just put in the data in the data section of the node like this: data1=some%20data%20here&data2=somethingelse etc?

The proxy does use an old http version from the looks of it. Maybe I will try and create a php script using curl and try it that way...
Or, maybe I'll look for a proxy provider that uses http 1.1

Thanks for your help...
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)