<p>I've done a bit of a rework in <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/openstreetmap/openstreetmap-website/commit/aaf9d15d5679f97447be0a09790aa63fef0b9022/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/commit/aaf9d15d5679f97447be0a09790aa63fef0b9022"><tt>aaf9d15</tt></a> which is partly just making it more idiomatic ruby and partly slightly changing the way it interacts with rails.</p>
<p>The big issues requiring us to take so much control are (a) the JOSM issue and (b) the fact that rails doesn't really have a way to set a default format as such - it has a hardwired default of <code>:js</code> for XHR requests and <code>:html</code> for everything else. In fact that second one is the real problem because it we could set a default of <code>:xml</code> then it would be used when the JOSM accept failed to parse...</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2485?email_source=notifications&email_token=AAK2OLLU3K37UGM5WXNSPBTRFEU5ZA5CNFSM4KAKS5KKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENL44CI#issuecomment-592956937">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLO4B2VSBZF3LIDVK33RFEU5ZANCNFSM4KAKS5KA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLPTR2ZIRULRRASZYZ3RFEU5ZA5CNFSM4KAKS5KKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENL44CI.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/2485?email_source=notifications\u0026email_token=AAK2OLLU3K37UGM5WXNSPBTRFEU5ZA5CNFSM4KAKS5KKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENL44CI#issuecomment-592956937",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/2485?email_source=notifications\u0026email_token=AAK2OLLU3K37UGM5WXNSPBTRFEU5ZA5CNFSM4KAKS5KKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENL44CI#issuecomment-592956937",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>