diff -r 87e4a26334b1 docs/topics/testing.txt
a
|
b
|
|
493 | 493 | |
494 | 494 | /customers/details/?name=fred&age=7 |
495 | 495 | |
496 | | .. versionadded:: development |
| 496 | .. versionadded:: 1.1 |
497 | 497 | |
498 | 498 | If you already have the GET arguments in URL-encoded form, you can |
499 | 499 | use that encoding instead of using the data argument. For example, |
… |
… |
|
556 | 556 | Note that you should manually close the file after it has been provided |
557 | 557 | to ``post()``. |
558 | 558 | |
559 | | .. versionadded:: development |
| 559 | .. versionadded:: 1.1 |
560 | 560 | |
561 | 561 | If the URL you request with a POST contains encoded parameters, these |
562 | 562 | parameters will be made available in the request.GET data. For example, |
… |
… |
|
570 | 570 | |
571 | 571 | .. method:: Client.head(path, data={}) |
572 | 572 | |
573 | | .. versionadded:: development |
| 573 | .. versionadded:: 1.1 |
574 | 574 | |
575 | 575 | Makes a HEAD request on the provided ``path`` and returns a ``Response`` |
576 | 576 | object. Useful for testing RESTful interfaces. Acts just like |
… |
… |
|
578 | 578 | |
579 | 579 | .. method:: Client.options(path, data={}) |
580 | 580 | |
581 | | .. versionadded:: development |
| 581 | .. versionadded:: 1.1 |
582 | 582 | |
583 | 583 | Makes an OPTIONS request on the provided ``path`` and returns a |
584 | 584 | ``Response`` object. Useful for testing RESTful interfaces. |
585 | 585 | |
586 | 586 | .. method:: Client.put(path, data={}, content_type=MULTIPART_CONTENT) |
587 | 587 | |
588 | | .. versionadded:: development |
| 588 | .. versionadded:: 1.1 |
589 | 589 | |
590 | 590 | Makes an PUT request on the provided ``path`` and returns a |
591 | 591 | ``Response`` object. Useful for testing RESTful interfaces. Acts just |
… |
… |
|
593 | 593 | |
594 | 594 | .. method:: Client.delete(path) |
595 | 595 | |
596 | | .. versionadded:: development |
| 596 | .. versionadded:: 1.1 |
597 | 597 | |
598 | 598 | Makes an DELETE request on the provided ``path`` and returns a |
599 | 599 | ``Response`` object. Useful for testing RESTful interfaces. |