http - Play framework WS set cookie -


how can set cookie in ws request?

val request = ws.url("http://testurl.com/test.pdf") 

is possible?

i'm using play version 2.1.1

ws.url(theurl).withheaders("cookie" -> "cookiename=cookieval; name2=val2") 

Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -