Skip to content

HtUpgradeWire.java:32-45: min As discovered in #53, the... #61

@0pdd

Description

@0pdd

The puzzle 23-e7afac42 from #23 has to be resolved:

* @todo #23:30 min As discovered in #53, the upgrade is not a job of the
* wire because it need reading the contents of the response (in this case,
* status code). So, this feature would be under the responsibility of a
* response-like object. It must be implemented someway like this:
* new HtUpgradedResponse(
* new IterableOf<>(
* new MapEntry<Func<String, Boolean>, Func<URI, Wire>>(
* upgrade -> upgrade.contains("TLS"),
* HtSecureWire::new
* )
* )
* )
* The test HtUpgradeWireTest#testHtUpgrade must be removed after the
* implementation of this class.

The puzzle was created by rultor on 30-May-18.

Estimate: 30 minutes,

If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpddscope

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions