         else
             fmt
         end
-
-        IO.puts(hostname)
-        IO.puts(fmt     )
         # ---------------------------------------------------------------------
         # --- Parsing and validating request params - End ---------------------
         # ---------------------------------------------------------------------

    def init(req, state) do
        mtd = :cowboy_req.method(req)

        IO.puts(mtd)

        # ---------------------------------------------------------------------
        # --- Parsing and validating request params - Begin -------------------
        # ---------------------------------------------------------------------


        hostname = hostname |> Enum.filter(fn(v) -> (v !== nil) end)
        hostname = hostname |> Enum.at(length(hostname) - 1)

        fmt      = fmt      |> Enum.filter(fn(v) -> (v !== nil) end)
        fmt      = fmt      |> Enum.at(length(fmt     ) - 1)

        hostname = if ((              hostname  === nil )
                   or  (              hostname  === true)
