                 request,
                 queue: NSOperationQueue.mainQueue()) {
                 response, data, error -> Void in
+                    
                     // Try to access the protocol's client
                     if let client = self.client {
                         // Cascade the «messages» to avoid the calling up from being stuck without response

import Box

/**
    List of error codes:
        - -666: Unable to start loading the request
        - -667: Failed to connect to URL
        - -668: Unable to correctly parse as a `JSON` response
        - -669: Unable to get the `Document`'s directory path
        - -670: Unable to extract the request's last path component for file name generation.
        - -671: Unable to save file to path
        - -672: Unable to get a successful response from URL.
*/

/** 
`NSURLProtocol` subclass that records `NSURLResponse`'s `JSON`.
*/
public class RecordingProtocol: NSURLProtocol, NSURLConnectionDelegate, NSURLConnectionDataDelegate, Hashable {
    // MARK: RecordingProtocolsManager

                        client.URLProtocolDidFinishLoading(self)
                    }
                    
                    self.processResponse(response, connection: connection, data: data, error: error)
            }
        } else {
            if let callback = operationResult {
