Skip to Content
Hands-On RESTful Python Web Services - Second Edition
book

Hands-On RESTful Python Web Services - Second Edition

by Gastón C. Hillar
December 2018
Intermediate to advanced
500 pages
12h 33m
English
Packt Publishing
Content preview from Hands-On RESTful Python Web Services - Second Edition

Test your knowledge

Let's see whether you can answer the following questions correctly:

  1. In Pyramid, view callables are which of the following?
    1. Python objects such as functions, classes, or instances that implement a __call__ method
    2. Classes that inherit from the pyramid.views.Callable superclass
    3. Instances of the pyramid.views.Callable class
  1. The request argument that any view callable receives represents an HTTP request, and is an instance of which of the following classes?
    1. pyramid.web.Request
    2. pyramid.request.Request
    3. pyramid.callable.Request
  1. Which of the following attributes allows us to specify the status code for the response in a pyramid.response.Response instance?
    1. status
    2. http_status_code
    3. status_code
  1. Which of the following ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Building RESTful Python Web Services

Building RESTful Python Web Services

Gastón C. Hillar
Python Command Line Tools

Python Command Line Tools

Alfredo Deza, Noah Gift

Publisher Resources

ISBN: 9781789532227Supplemental Content