diff options
author | Koushik Dutta <koush@koushikdutta.com> | 2015-02-26 16:31:19 -0800 |
---|---|---|
committer | Koushik Dutta <koush@koushikdutta.com> | 2015-02-26 16:31:19 -0800 |
commit | 257c09449ce3ab54b0d23d132d9a4130e0cea896 (patch) | |
tree | e477e540d2b1d56ee6f0b179b80240e6b8fc6c97 | |
parent | af5618a96ecab34f04b6ce079d789dda79b49700 (diff) | |
parent | 03139b2dbde91b863b0d56faea72304b593779d6 (diff) | |
download | AndroidAsync-257c09449ce3ab54b0d23d132d9a4130e0cea896.tar.gz AndroidAsync-257c09449ce3ab54b0d23d132d9a4130e0cea896.tar.bz2 AndroidAsync-257c09449ce3ab54b0d23d132d9a4130e0cea896.zip |
Merge pull request #323 from andhie/patch-1
Display Request Payload in Chrome Inspector
-rw-r--r-- | AndroidAsyncStetho/src/com/koushikdutta/async/stetho/StethoMiddleware.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/AndroidAsyncStetho/src/com/koushikdutta/async/stetho/StethoMiddleware.java b/AndroidAsyncStetho/src/com/koushikdutta/async/stetho/StethoMiddleware.java index 3bf4c4c..883dc8d 100644 --- a/AndroidAsyncStetho/src/com/koushikdutta/async/stetho/StethoMiddleware.java +++ b/AndroidAsyncStetho/src/com/koushikdutta/async/stetho/StethoMiddleware.java @@ -61,7 +61,7 @@ public class StethoMiddleware extends SimpleMiddleware { @Nullable @Override public byte[] body() throws IOException { - return null; + return request.getBody() != null ? request.getBody().toString().getBytes("UTF-8") : null; } @Override |