diff options
-rw-r--r-- | src/gmrequest.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gmrequest.c b/src/gmrequest.c index 38702edb..ad0c5ed7 100644 --- a/src/gmrequest.c +++ b/src/gmrequest.c | |||
@@ -127,6 +127,9 @@ static void readIncoming_GmRequest_(iAnyObject *obj) { | |||
127 | notifyDone = iTrue; | 127 | notifyDone = iTrue; |
128 | } | 128 | } |
129 | remove_Block(&d->header.chars, 0, 3); /* just the meta */ | 129 | remove_Block(&d->header.chars, 0, 3); /* just the meta */ |
130 | if (code == success_GmStatusCode && isEmpty_String(&d->header)) { | ||
131 | setCStr_String(&d->header, "text/gemini; charset=utf-8"); /* default */ | ||
132 | } | ||
130 | d->code = code; | 133 | d->code = code; |
131 | d->state = receivingBody_GmRequestState; | 134 | d->state = receivingBody_GmRequestState; |
132 | notifyUpdate = iTrue; | 135 | notifyUpdate = iTrue; |