Skip to content

Commit

Permalink
fix ktorio#1970 - made MultiPartFormDataContent open and exposed boun…
Browse files Browse the repository at this point in the history
…dary to subclasses
  • Loading branch information
jschneidereit committed Jun 30, 2020
1 parent 8ac5887 commit 9caaa48
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -37,10 +37,10 @@ class FormDataContent(
*
* @param parts: form part data
*/
class MultiPartFormDataContent(
open class MultiPartFormDataContent(
parts: List<PartData>
) : OutgoingContent.WriteChannelContent() {
private val boundary: String = generateBoundary()
protected val boundary: String = generateBoundary()
private val BOUNDARY_BYTES = "--$boundary\r\n".toByteArray()
private val LAST_BOUNDARY_BYTES = "--$boundary--\r\n\r\n".toByteArray()

Expand Down

0 comments on commit 9caaa48

Please sign in to comment.