Skip to content

Commit

Permalink
encode bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
razie committed Dec 21, 2017
1 parent 0286684 commit a57528f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/scala/razie/snakked/SnakkProxy.scala
Expand Up @@ -139,7 +139,7 @@ object SnakkProxy {

val ctype = head("Content-Type").toString
val content =
if(Snakk.isText(ctype)) response
if(false && Snakk.isText(ctype)) response
else "SNAKK64" + Base64.encodeBytes(response.getBytes)

val r = SnakkResponse(resCode, head.toMap, content, head("Content-Type").toString, rq.id)
Expand Down

0 comments on commit a57528f

Please sign in to comment.