Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. No PATCH and DELETE request method support?
Forum Updated to NodeBB v4.3 + New Features

No PATCH and DELETE request method support?

Scheduled Pinned Locked Moved Qt WebKit
2 Posts 2 Posters 1.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    borzik
    wrote on last edited by
    #1

    Many testing frameworks are using Qt WebKit. In Ruby on Rails (and others), there is already support for PATCH and DELETE request methods. But we can't test it. Is there a way to get it working?

    More information can be found at these links:
    https://github.com/thoughtbot/capybara-webkit/issues/553
    https://github.com/thoughtbot/capybara-webkit/issues/427
    https://github.com/ariya/phantomjs/issues/11384
    https://github.com/ariya/phantomjs/issues/10873

    RFC2068 for PATCH request method:
    http://tools.ietf.org/html/rfc2068#section-19.6.1.1
    RFC2068 for DELETE request method:
    http://tools.ietf.org/html/rfc2068#page-53

    1 Reply Last reply
    0
    • B Offline
      B Offline
      brcontainer
      wrote on last edited by
      #2

      "QtWebkit" uses "QNetWorkAccessManager", it support:
      @
      enum Operation {
      HeadOperation = 1,
      GetOperation,
      PutOperation,
      PostOperation,
      DeleteOperation,
      CustomOperation,

          UnknownOperation = 0
      };
      

      @

      Maybe something in your front-end request (maybe you use ajax).
      For DELETE, QNetWorkAccessManager work with this method:

      @QNetworkAccessManager::deleteResource@

      QT project: https://github.com/brcontainer/qt-helper

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved