Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-5553

Start background servlet jobs for POST, PUT and DELETE only by default

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Background Servlets 1.0.2
    • Fix Version/s: Background Servlets 1.0.6
    • Component/s: Extensions
    • Labels:
      None

      Description

      Starting background jobs does not make sense for GET and HEAD requests for example, as those jobs are meant to change content and that shouldn't happen for such requests. I'll add a configurable list of acceptable methods to the BackgroundServletStarterFilter, defaulting to POST, PUT and DELETE.

        Attachments

          Activity

            People

            • Assignee:
              bdelacretaz Bertrand Delacretaz
              Reporter:
              bdelacretaz Bertrand Delacretaz

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment