Take the 2-minute tour ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

This encoded response of HTTP response.

18:31:26,107 DEBUG [wire] http-outgoing-0 << "a[\r][\n]"
18:31:26,107 DEBUG [wire] http-outgoing-0 << "[0x1f][0x8b][0x8][0x0][0x0][0x0][0x0][0x0][0x0][0x0]"
18:31:26,108 DEBUG [wire] http-outgoing-0 << "[\r][\n]"
18:31:26,109 DEBUG [wire] http-outgoing-0 << "70[\r][\n]"
18:31:26,109 DEBUG [wire] http-outgoing-0 << "m[0x8b][0xbd][\n]"
18:31:26,109 DEBUG [wire] http-outgoing-0 << "[0x83]0[0x10][0xc7]_[0xe5][0xb8]Y[0xc4][0xc5]%[0x9b][0x83]C[0xd7][0xfa][0x4]G<0[0x10]/[0xe1][0xfc][0xa7][0x14]J[0xdf][0xbd][0x82]c][0x1f][0x1f]^[0x15][0x92]2[0x7][0x9e][0x8c][0x1e][0x6]u[0x93]L[0x8b][0xfa]K[0x9d]f[0xf7][0xe2][0xb4][0xc9]A%[0xc6][0xe6][0xae]k[0xcf][0x1d]#![0xeb]9[0xdc][0xd6][0xa7][0xdf][0x80][0xba]@[0xd0][0xe][0xe][0xe3]0t,[0xb5]^.[0xf0][0xb3][0x19][0xd2][0xae]4[0xbf][0xa3]V[0xa4]b[0x80][0xbf]?<s[0x13][0xc6][0x94][0x0][0x0][0x0]"
18:31:26,109 DEBUG [wire] http-outgoing-0 << "[\r][\n]"
18:31:26,109 DEBUG [wire] http-outgoing-0 << "0[\r][\n]"
18:31:26,109 DEBUG [wire] http-outgoing-0 << "[\r][\n]"
  1. What is the name of this encoding?
  2. How can I decode it in Java to make it more leggible?
share|improve this question
    
Have you tried viewing that traffic in Wireshark? –  user246 Aug 1 at 18:11
    
@user246, I have seen it in Charles, a similar proxy. My objective, however, is to implement decoding in Java, as a part of my framework. I'm using Jersey + Apache HTTP Client 4 for handling and tracking HTTP traffic. –  dzieciou Aug 5 at 12:07
1  
I recommend throwing this question into the regular StackOverflow and not the Software Quality Assurance & Testing one. –  mutt Aug 14 at 17:51

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.