Skip to content

Commit 2ca4941

Browse files
author
Nicolas KAROLAK
committed
mime text/plain
1 parent a1a3a19 commit 2ca4941

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## v0.3.1
4+
5+
* set MIME type to text/plain
6+
37
## v0.3.0
48

59
* add ipv6 compatibility

src/rephacheck/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/usr/bin/env python
22
# -*- encoding: utf-8 -*-
33

4-
__version__ = '0.3.0'
4+
__version__ = '0.3.1'

src/rephacheck/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def __init__(self, *args, **kwargs):
3838

3939
def _set_headers(self):
4040
self.send_response(200)
41-
self.send_header('Content-Type', 'application/json')
41+
self.send_header('Content-Type', 'text/plain')
4242
self.end_headers()
4343

4444
def do_GET(self):

0 commit comments

Comments
 (0)