But I have to use multipart/form-data to upload files and not application/x-www-form-urlencoded.
urlEncodedBody set multipart/form-data mode of coding body.
Or I misunderstood something?
 
PS. Krzysztof, sorry, I've sent the letter personnaly to you by mistake.
14.01.2012, 03:36, "Krzysztof Skrzętnicki" <gtener@gmail.com>:
Generally you can download a file by using GET request and upload it with POST request. See urlEncodedBody in http-enumerator: http://hackage.haskell.org/packages/archive/http-enumerator/0.7.2.3/doc/html/Network-HTTP-Enumerator.html#v:urlEncodedBody
Best regards,
Krzysztof Skrzętnicki

2012/1/13 Никитин Лев <leon.v.nikitin@pravmail.ru>
Hello.

Can I upload file using http-enumerator, hxt?

What best way to take a html page from one server, maybe make some transformation of this html and upload it (transformed) to other server?

I can use hxt to download file and to do some transformation. But how can I upload it to other server?

_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners

_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners

14.01.2012, 03:36, "Krzysztof Skrzętnicki" <gtener@gmail.com>:
Generally you can download a file by using GET request and upload it with POST request. See urlEncodedBody in http-enumerator: http://hackage.haskell.org/packages/archive/http-enumerator/0.7.2.3/doc/html/Network-HTTP-Enumerator.html#v:urlEncodedBody
Best regards,
Krzysztof Skrzętnicki

2012/1/13 Никитин Лев <leon.v.nikitin@pravmail.ru>
Hello.

Can I upload file using http-enumerator, hxt?

What best way to take a html page from one server, maybe make some transformation of this html and upload it (transformed) to other server?

I can use hxt to download file and to do some transformation. But how can I upload it to other server?

_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners

_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners

14.01.2012, 03:36, "Krzysztof Skrzętnicki" <gtener@gmail.com>:
Generally you can download a file by using GET request and upload it with POST request. See urlEncodedBody in http-enumerator: http://hackage.haskell.org/packages/archive/http-enumerator/0.7.2.3/doc/html/Network-HTTP-Enumerator.html#v:urlEncodedBody
Best regards,
Krzysztof Skrzętnicki

2012/1/13 Никитин Лев <leon.v.nikitin@pravmail.ru>
Hello.

Can I upload file using http-enumerator, hxt?

What best way to take a html page from one server, maybe make some transformation of this html and upload it (transformed) to other server?

I can use hxt to download file and to do some transformation. But how can I upload it to other server?

_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners

_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners