Created
August 13, 2014 20:09
-
-
Save chris-piekarski/3a92d5cf17ac1e1bbe98 to your computer and use it in GitHub Desktop.
Dump Android HttpRequest Headers To Logcat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void handle(HttpRequest request, ... ) { | |
Header[] hdrs = request.getAllHeaders(); | |
for( Header h: hdrs) { | |
Log.w(TAG, h.getName()+":"+h.getValue()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment