• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Https post with multi MIME message

 
Gayathri kopparapu
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

I want to post the multipart mime message to the url "https://xyz.com" along with the certificates authentication and get back the response..
sample mime message to post::
---boundary
content-type
context-id
..... xml content

---boundary
content-type
context-id
..... xml content


How can i post the sample message along with certificates???
 
Sean Corfield
Ranch Hand
Posts: 302
10
Clojure Linux Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Read the documentation for clj-http. I believe it supports what you need (but I'm not sure).
 
Gayathri kopparapu
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

when i do

(client/get "http://google.com") in my code, I am getting Connection refuesd.......what does it mean?
 
Sean Corfield
Ranch Hand
Posts: 302
10
Clojure Linux Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Google throttles requests and may block requests that don't specify a recognizable user agent string.
 
Gayathri kopparapu
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So, If want to set any proxies to the requset , how can i set it....and how can I know the proxies are set properly?
 
Sean Corfield
Ranch Hand
Posts: 302
10
Clojure Linux Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You'll have to read the clj-http documentation for user agents etc.
 
Gayathri kopparapu
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

:multipart in documentation of clj-http is a little bit confusing. Also, I am not able to build the above multipart MIME message using the :multipart option..


Can anyone help me out.
 
Gayathri kopparapu
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

From which version of clj-http , :proxy-host and :proxy-port are supportable???
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic