Monday, April 13, 2015

tcp tunnel, old way but easy to use

iOS NSURLRequest does not have cookie info in the allhttpheaderfields api.
I am confused and I think I don't have cookie...but actually there is.
So to get the real sent request header, ether check nshttpcookie by yourself,
or simply use the tcp tunnel to dump the request.


java -classpath soap-2.3.jar org.apache.soap.util.net.TcpTunnelGui 8080 yourserver 8080

although soap is out, I still like this tiny tool. XD