wagtail / wagtail-live

High speed publishing from messaging apps to a Wagtail live blog. A GSoC 2021 project.
https://wagtail.github.io/wagtail-live/
BSD 3-Clause "New" or "Revised" License
37 stars 6 forks source link

Set content-type to 'plain/text' on Slack URL verification #140

Closed Tijani-Dia closed 2 years ago

Tijani-Dia commented 2 years ago

This PR sets the content type of the URL verification response to 'plain/text' instead of the default ('text/html') to avoid errors as described on #139.

codecov-commenter commented 2 years ago

Codecov Report

Merging #140 (2342009) into main (dd769be) will not change coverage. The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main      #140   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           40        40           
  Lines         1091      1091           
  Branches       103       149   +46     
=========================================
  Hits          1091      1091           
Impacted Files Coverage Δ
src/wagtail_live/receivers/slack/receivers.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update dd769be...2342009. Read the comment docs.