Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7779977
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T18:47:15+00:00 2026-06-01T18:47:15+00:00

I am trying to move my django project from an apache setup over to

  • 0

I am trying to move my django project from an apache setup over to heroku. At this point, everything seems to be working fine except for an issue I am having with using the PATCH Http Method (which I use in conjuction with django-tastypie).

I have a piece of middleware that allows this method and it worked on the apache server I had before. Now all I get is a 405 (METHOD_NOT_ALLOWED) error. The common HTTP methods still work (GET, POST, DELETE, POST). I also have read that nginx doesn’t support OPTIONS (and maybe PATCH requests?) by default and some configuring has to be done. From what I have read, nginx returns a similar 405 error for OPTIONS method requests. I am also pretty sure heroku uses an nginx frontend, so that could be the issue.

This leads me to my next issue: I have no idea how to add my own headers to it because that is all controlled by heroku. Does anyone know exactly what the issue is? Is there any way, aside from abandoning the PATCH method (which makes things much more convenient), to get the PATCH method to work on heroku?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T18:47:16+00:00Added an answer on June 1, 2026 at 6:47 pm

    Patch is currently not supported on Heroku. It is not due to an nginx issue, but rather due to an issue in the routing layer. It is something Heroku is currently working on, but there is no ETA on it being available. Additionally you do not have the ability to add custom headers as these are controlled for you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working with Graphics2D(java) I'm trying move a random shape with mouse drag. This
I'm trying to move over some fish species information profiles from a bespoke CMS
I'm trying to move my gae webapp project to django non-rel. I'm pretty new
I am trying to move a share point document library from one server to
I'm trying to move from django 1.0.2 to 1.1 and I am getting the
Trying to move a Qt 4.6.3 project from Windows to Debian Linux (Etch). I've
Trying to move some divs using hover, this is my markup: <div class=item dark-grey>
I'm trying to move my database.mdf file from a development environment to a SQL
I'm trying to move some table storage in Azure from local storage to the
I'm trying to move the menu structure from a JMenu into a JMenuBar. The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.