Revert "Debug #2"

This reverts commit d57ceaaaae2872db58d1a3516b63046528f3a9be.
Revert "Debug."

This reverts commit 6c8cdd2ac566c467a5ce6af7ab7c49134c217cd6.
Revert "Patches to correct template error."

This reverts commit 7051d1da33e5f8bf0e83be51050fbb5af34f062b.
Revert "Patches to template sync."

This reverts commit 30088c779d65652150360c47bb59f11b203179b1.
Patches to fix content-length.